package com.example.demo.service;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Controller;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * \* Created with IntelliJ IDEA.
 * \* User: Administrator
 * \* Date: 2022/7/12
 * \* Time: 20:40
 * \* To change this template use File | Settings | File Templates.
 * \* Description:
 * \
 */

@Controller
@ResponseBody
@Slf4j
public class UserService {

    @RequestMapping("/sayhi2")
    public void sayHi2(){
        log.trace("我是trace");
        log.debug("我是debug");
        log.info("我是info");
        log.warn("我是warn");
        log.error("我是error");
    }
}
